package com.bis.ymyy.mapper;

import com.bis.ymyy.common.utils.InoculationSiteInfo;
import com.bis.ymyy.entity.InoculationSite;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface InoculationMapper {
    // 查询所有接种点
    List<InoculationSite> findAllSite();

    // 查询省内接种点
    List<InoculationSite> findByProvince(String province);

    // 查询市内接种点
    List<InoculationSite> findByCity(String city);

    // 联合查询
    List<InoculationSite> findByProvinceAndCity(InoculationSiteInfo inoculationSite);
}
